x86/mm: Allocate log-dirty bitmaps from shadow/HAP memory.
authorKeir Fraser <keir@xen.org>
Fri, 19 Nov 2010 13:21:09 +0000 (13:21 +0000)
committerKeir Fraser <keir@xen.org>
Fri, 19 Nov 2010 13:21:09 +0000 (13:21 +0000)
commit2c7d8f610b43d83737e429dfd4fa668dc3134eed
treecc88962ff4dec4d402edc891cec7a79587d5c68d
parenta681f36c2e14c3660d7a0f1f59d5c3d1fe408be5
x86/mm: Allocate log-dirty bitmaps from shadow/HAP memory.

Move the p2m alloc and free functions back into the per-domain paging
assistance structure and allow them to be called from the log-dirty
code.  This makes it less likely that log-dirty code will run out of
memory populating the log-dirty bitmap.

Signed-off-by: Tim Deegan <Tim.Deegan@citrix.com>
xen/arch/x86/mm/hap/hap.c
xen/arch/x86/mm/hap/p2m-ept.c
xen/arch/x86/mm/p2m.c
xen/arch/x86/mm/paging.c
xen/arch/x86/mm/shadow/common.c
xen/arch/x86/mm/shadow/private.h
xen/include/asm-x86/domain.h
xen/include/asm-x86/p2m.h
xen/include/asm-x86/paging.h